<ion-view id="visinfo-view" hide-nav-bar="true" view-title="和护健康"  id="myself">

  <ion-header-bar align-title="center" class="head">

    <img wf-src="img/yuyue/back.png" class="headleft" ng-click="back()"/>
    <h1 class="min-title">就诊信息</h1>
    <img wf-src="img/common/Rectangle.png" class="headright" on-tap="canEdit()" ng-if="!editing"/>
      <div class="buttons" style="position: absolute;right:10px;border: none">
      <button class="button " style="background: transparent;color: white;font-size: 16px" on-tap="canEdit()" ng-if="editing">完成
      </button>
  </div>
  </ion-header-bar>

  <ion-content>
      <div ng-repeat="info in infoList" class="yyfw shadow-box" style="position: relative" on-tap="goEditinfo($event,info)">
          <span class="ion-ios-checkmark" style="font-size: 35px;margin-left: 3%;position: relative;margin-top: 25px;width: 35px;margin-bottom: 25px;display: block;" ng-class="{true:'check'}[info.isSelect==true]" on-tap="setDefault($event,info)"></span>
          <label class="vict">{{info.customerName}}</label>
          <label class="vihs">{{info.address}}</label>
          <label class="vihp">{{info.tel}}</label>
          <span class="ion-close-circled" style="font-size: 20px;position: absolute;color:#36D3D0;right: -5px;top: -5px;" ng-if="editing" on-tap="remove($event,info)"></span>
      </div>
      <button class="button tijiao" ng-click="addInfo()" style="margin-top:50px">新增</button>
  </ion-content>
</ion-view>

